define autoloads for the mode