Fixed fatal error during module autoloading