Replaced static references to host and interface in addIface method