Remove superfluous mocks.