Added tal:define statements for hidden class in li items.