Fix problem generating interfaces