Adds class names to the parent li for styling help.