Added method to get the current command manager.