Fix warnings.
Merge pull request #45 from hesselink/fix-warnings

Fix warnings.