Added 'location' method to Cursor class.