Fixed generating hydrator with private properties