Changes ObjectType initialization to automatically remove fields that are no longer accessible by the class.
Changes ObjectType initialization to automatically remove indexes that are no longer accessible by the class.