Fixing compiler Warnings about unused variables.