API redesign, got rid of CliCommand interface and its getters.