move warn_off to CoreExtensions::Object