Refactoring hyperlink reference system.