Moved the type definition.

This is for #290.
It is done for consistency with other models as type definitions that
are used by the top-level models should not be in the BaseClasses
directory.