Issue #193: Move views process function code into preprocess.
Issue #193: Rework code from layout process layer into preprocess layer.