Allow configuring the parser/serializer.