Add functions for manually setting type IDs.