cache interfaces during funcgen