Renaming def to line up with SQL terminology.