Slight optimizations to UnorderedList.