'type' is now a universal attribute; removed `type` function.