Add rotation support.