Fixed build error with old motor functions still being used