track interfaces on classes