Removing old relation functions