FLUID-4903: going home commit. Semi working pref map distribution. Should probably be replaced with model transformations.