Fix. some missing attribute on PassThroughEncoder

Fixes #1583.
Why was this added? Doesn't look like it is used anywhere.