Fixed eclipse warnings.