Added a function to get all the managers.