Fixed issues with the include file and added an Unregister native.