Adding actions to command parser.