Adding the ability to synchronously call callback.