Changed nsINode to nsISupports for Android and other platforms