Shorten: Add a callback function.