Added processing of anchors