This should enable other pybind modules to accept arguments of type MjSpec. PiperOrigin-RevId: 745580987 Change-Id: I435a8d264149369e3fbee14c5d2c628ef74b2541