M: ScriptFile: template for multivalue attributes calculation;
M: Tests:  refactoring.