Fixing some syntax to remove warnings.