Add support for properly displaying mongos
Remove unused function