move type field from getter on Node to own-property