fix deprecation warnings in sfCommandManager