Fix doxygen formatting
UPDATE: Code for lists is a bit more optimized