Renamed 'type' field in companies to 'category' to prevent STI defaults