Removed obsolete code from tank.