Fixed all warnings
Closes #44.