Provided some functionality to cli.