DRYed out the autoloader a bit