Fix warnings. Fixes #11.