Allow specifying the handler/importer classes as parameters