Accept a block as the expectation options.