Remove check for callback

It's a programming error if a callback is not provided. So,
let it throw an error at compile time.