split up native method definitions