call type as an object attribute and not a hash key.