Making an error message more clear
Removed some things left over from the autoapi