Refactored anchors to use arrays.