Remove some warnings in Eclipse