Cleanup interface of the WBGradient class to simplify gradient definition structure.