support method-maps in deftype & reify