Thus, advanced wastewater treatment processes have been used in cases where conventional secondary treatment was not possible due to materials toxic to bacteria entering the plant as well as in cases where even trace amounts of toxic materials were unacceptable in plant effluents.