This should be moved into a before block.