Adds deprecated field to ObjectType.