Use self in place of HexTransform.prototype