Build fix, mocked functions