Reduce duplication in Command objects