Fix anchors. Closes #308.