Added Output::replaceContent and Event::replace. Comment updates.