Encoder key is now registered when class instantiation.