See my comment above about mocking this.