diff --git a/doc/index.rst b/doc/index.rst
index d862a8acd0cb258bfd1e9623bd5cef895871f6b1..b77bbb16f413defe5010c75d28464051553b4486 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -25,18 +25,18 @@ Want to try out loopy?
There's no need to go through :ref:`installation` if you'd just like to get a
feel for what loopy is. Instead, you may
-`download a self-contained Linux binary `_.
+`download a self-contained Linux binary `_.
This is purposefully built on an ancient Linux distribution, so it should work
on most versions of Linux that are currently out there.
Once you have the binary, do the following::
chmod +x ./loopy-centos6
- ./loopy-centos6 --target=opencl hello-loopy-lp.py
- ./loopy-centos6 --target=cuda hello-loopy-lp.py
- ./loopy-centos6 --target=ispc hello-loopy-lp.py
+ ./loopy-centos6 --target=opencl hello-loopy.loopy
+ ./loopy-centos6 --target=cuda hello-loopy.loopy
+ ./loopy-centos6 --target=ispc hello-loopy.loopy
-Grab the example here: :download:`examples/python/hello-loopy.py <../examples/python/hello-loopy-lp.py>`.
+Grab the example here: :download:`examples/python/hello-loopy.loopy <../examples/python/hello-loopy.loopy>`.
You may also donwload the most recent version by going to the `list of builds
`_, clicking on the newest one
diff --git a/doc/ref_kernel.rst b/doc/ref_kernel.rst
index c9ce206260c04fc883a0f980df0b18a9a826bbd9..62d76c77931356a203a6f44bed818738474acf65 100644
--- a/doc/ref_kernel.rst
+++ b/doc/ref_kernel.rst
@@ -406,7 +406,7 @@ Arguments
:members:
:undoc-members:
-.. autoclass:: GlobalArg
+.. autofunction:: GlobalArg
:members:
:undoc-members:
diff --git a/examples/python/hello-loopy.loopy b/examples/python/hello-loopy.loopy
index 0ba44d6eccb18236ac13e17ca747318af3962634..7f79730985119096daf3bbdd31ff17a2c0e7ab2c 100644
--- a/examples/python/hello-loopy.loopy
+++ b/examples/python/hello-loopy.loopy
@@ -1,7 +1,7 @@
# This is a version of hello-loopy.py that can be run through
# a loopy binary using
#
-# ./loopy --lang=loopy hello-loopy-lp.py -
+# ./loopy --lang=loopy hello-loopy.loopy -
knl = lp.make_kernel(
"{ [i]: 0<=i