Generate interface variables