Replace requires with autoload