Multiple changes

- Added another overload of for_each to manager.
- Fixed some bugs in the any_manager.