Fixing a few warnings in the modules.

Refs #1777.
Merge pull request #2742 from jwpeterson/fixing_warnings

Fixing a few warnings in the modules.