Fix #7 - cursor.set polymorphism