Removing Eclipse warnings