Add autoload cookie

This lets people use the function without explicitly "require"-ing the file first.