Associate the cursor with the type object.