Fix: make ifnames class attribute