Fixes: #2438 Fixed manager handling and get_objectclasses