extract `delete_link` method to make it configurable. Closes #30.