change console.warn regarding this.extend being deprecated