Fixed remove-child, made serialize's stream argument optional.
Added indentation hints
Updated indentation
Added documentation