Fixed some warnings in Eclipse.