Interface detection