Add missing create pair function, fixes build.