Removed compilation warnings. Addresses #6.