Removed warnings, and now compiler should treat warnings as errors.