Fixed makeTransient()/makePersistent() for GenericObject