Added Encoder/Decoder singletons.