Took care of warnings in code.