Fixed autoload to get the correct value for $called