Added moveToBefore and moveToAfter.