Checking for affiliations in order to allow the owner to configure a
node. Removing unused imports.