Removing unnecessary hidden list items.
Adding targets and titles.