Invariants are now automatically not used in private methods.