A function/class for use in shortening URL links.