Make command processors more genericy