- Fixed warnings about obsolete code.