We should check that the callback is passed in the constructor.