Restructure interface idl