A simple callback utility.