Remove unneccessary mocks.