add option for auto generating hydrators