Add additional param to api.addCommand