Fixed unchecked warnings.