add by-field classification support