Require type instead of autoload