Added change direction methods.
Fix incorrect Javadoc.