Throws autoload_functions on exception