Replace use of deprecated autoload with require