Added support of branch usage in infrastructure of text model and
factories.

NOTICE: PROJECT NOT COMPILABLE.