Remove ipopt specific quantities.