Remove old methods set_userdata
Fix get_internal_edges returning list of tuples, not list of lists