Basic widget implementation.