Use Kernel.warn for deprecation message