Fixes a build path error in Eclipse. Fixes warnings.