Add operator support to type.