Issue #193: Remove views process function since it seems to not be needed anymore.
Issue #193: Rework code from layout process layer into preprocess layer.