Creating t custom view plugin.