Fix warnings from Eclipse