Fix bug with warnings suppression
Fix checkdoc errors