fix warnings p1

fix warnings p2

fix warnings p3

fix warnings p4
Merge pull request #784 from eventhorizonpl/fix_docs

fix documentation warnings p1