Fixes the baseFieldDefinitions method.