Support for custom controls