Ensuring that markup extensions are transmuted before returning.