Refactoring: Extract common getView modification as a new classs.