make transformers take the page object and work in-place