Added ability for Hydrator to properly cast custom DBAL types.