I think you can omit these two lines, you are not really using the Internal Extension (like XWalkExtensionFunctionHandler).