Add getType to Value.