Fixes autoload directive