Renamed domMapper to _document