Fix a deprecation in initialCommands