Replace body _before_ compiling to support selectors