Added getNMSHandle method