Currently, the Hibernate#unproxy method takes and returns a java.lang.Object. It would be more convenient if we generify it so that we retain the incoming argument genric type.