Moved reg relation converter to preprocess.