This simplifies adding more interface item types, because there will be a compiler warning when it's not handled somewhere.