Support for custom view.