Correct method definition for registerAutoloaders