Added some more common functions which existed before for backward
compatibility.