Add optional command parameter

Is there any benefit to defaulting it to null rather than leaving it undefined?