autoload fix for deprecated.