Moved allType definitions to files