Allow links to be passed as a constructor argument