Un-deprecate methods needed by report writers. Fix all compiler warnings in project.