make interfaces internal in extract.c