modeltypes: move small typedefs to own header