Generating fields/method widget.