Make the custom widget a generic class, and add and use a derived class. Also add a second instance of the custom widget, to better test the interface properties support.