Added native monitor handle access to native API.