introducing EncodeStrategy.