Fixed issue with generating code from interfaces.