Unify unwrap and getvertex method