Fix for issue #740.
Fix for issue #740.

NativeScript/NativeScript,NativeScript/NativeScript,NativeScript/NativeScript,hdeshev/NativeScript,hdeshev/NativeScript,NativeScript/NativeScript,NativeScript/NativeScript,hdeshev/NativeScript