Fixed arguments in API documentation.
Also added documentation for toNative().