Simplify load_encoder, load_decoder