Add back `BaseField#type` method with a deprecation warning