Register and use the autoloader during API calls
Merge pull request #761 from adamwight/api_autoloaded

Register and use the autoloader during API calls