Fix defrecord in accordance to last deftype changes.