NEW: Allow user-defined AUTOLOAD function