Extend controller to handle lists of joints.