Made second argument of Platform::command optional and default to empty array