Support for custom views.