Update from Obryen

fix some typos
add declaration modifiers
add avaiability attribute
Merge pull request #311 from oldcodeoberyn/gh-pages

Update from Obryen