Missed reference to `type`