Callback function added.