More documentation and some asserts on the default serializer.