Generified Command utility class.