Fix for Mavericks warnings.