Refactor the list styles.