I guess I don't see the code duplication here.  If I used the func. written in #234 it looks like I would have issues duplicating link AP.