Fixes autoload include, adds debug output.