Added support for moving forward a specified distance.