A base class making it easier to develop form-like widgets.