Cleaned up warnings.
Merge pull request #11 from lluixhi/warnings

Cleaned up warnings.