Fix for recent versions of Eclipse.
Fix warnings