Remove final so this can be mocked.