Handle edges in wrapper