Move native methods to native