Add intrinsics for cursor-related functions.