Simplifies getting the type of a field.