Simplify custom type field creation.