Put model baseclasses in separate files.