Made the callback passed to the constructor required