Adds APIs to get and set the rotation coordinates.