Add rotation and reflection support.