Cleaning up some warnings in Eclipse