Fix warning and add doxy