patch deftype, defprotocol, defrecord