Setup functions to create edit/delete links.