Prevent collection modification.