Make functions autoloadable.
Merge branch 'autoload'