Made a couple of generic serializer methods public.