Removing mocking of reflection classes