fix Resting.Document.flipClass argument order