new methods added to pinvoke.