Extracting interfaces