Removed the getAllLinks() method and replaced any usages with get() method