Why do you need `post_render` and `pre_transform`? One procedure is enough.