[TIMOB-13300] Fixed contexts with native methods