Fixed some small warnings in Eclipse.