Fix warnings on > perl 5.18
Minor documentation fixes