Moved ContentHandler methods to the serialize namespace.