Support method-map in deftype and reify