autoloader tweaked for components