Added optional title field for link insertion