Most efficient way to import and register classes

when you import and register a list of classes,

you have to write them respectively

How to write them once!?