Only export encode*/decode* from internal module.