On before save and schema update, parse types.