Allow types to be in module definition.