as the expected behavior of 'get*' is a const method, it is harmful to name a method such when it actually alters the state of the method such that subsequent calls will produce a different result.
This removes some unused includes from common headers and dead code from some C++ files.