Locally disabled compiler warnings about unused variables and obsolete m...

...ethods.