Removed duplicate NativeMethods class