It still needs to be a block because it's invoked multiple times in some tests.