Remove unused modules and variables.
Merge pull request #1967 from AnalyticalGraphicsInc/removeUnused

Remove unused modules and variables.