Copy paste error when removing the rotation functions.