Example of ViewPatterns extension.