Added support of branch usage in infrastructure of dual commands.

NOTICE: PROJECT NOT COMPILABLE.