adds helpers for haml and content_rewriter