First draft of remove links functionality