Try fiddling with mocks to address doc build issue.