Type safe links.
Use promoted booleans.

    And fix renaming issue in imports.
Add tests and fix issues with mkLink.