Made commands able to handle NULL params.