Corrected error on self.for call in materialize.