Changed order of precedence and used provided _fnExtend