Implement "__setitem__" method in various managers.