NATIVE_CALLBACKS definition is long gone, so remove unused code