Fix contextual generator for interfaces.

Restored show import class and generate interface definition in interfaces.