make GenericHandler newInstance simpler