Add anchor creation helper method