fix #253, autocomplete toplevel functions as if they were methods