Merge pull request #20 from dkorolev/master

Header-only integrity check + more.