Fix contextual generator for interfaces.
Merge pull request #183 from SlavaRa/FIX-ASGenerator

Fix contextual generator for interfaces.