gen_types is used as part of the code update process for this module, and is not intended to be run externally.