Adds extension method hack to reverse 7.1.7 patch following Umbraco's method