Improve BindingCodecTree interface