Runtime pickler registry

I guess we shouldn't do those two changes. Especially, given that this runtime pickler implementation is being replaced in this PR.