Type checking
Add docs for goDecorateLayer
Minor doc fixes
Merge pull request #12 from elemoine/minor

Minor goDecorateLayer-related changes