Code reuse for motor mounts