Add addLink method