add 'type' property to basic types