Fix unused mut warnings.
Merge pull request #453 from metajack/mut-warnings

Fix unused mut warnings.