Signed-off-by: Tihomir Gvero <tihomir.gvero@gmail.com>
Fixing bug with Reference type builder.