ScFunctionWrapper should behave correctly in terms of super methods #SCL-6789 Fixed