Compile time iface check