Fix. some missing attribute on PassThroughEncoder