Eliminated warnings in code.