Use console.warn() to inform about deprecated functionality