Fix typo in @Name annotation and update native method signature.