semantic: Correctly identify interface functions.