Fix for SI-7193

It was caused by lack of default self type in the wrapper object which was used for code parsing.