Removed depreached code.