Formatting changes to toFirstOrder and toRHS.