Removing class for the native API: the native side is now only handled by functions.