Fix unable to use custom commands with parameters.