Fix doxygen dependency between types and shared pointers to types.