[#74863398] Move network references in-line

This commit moves references to networks in to the case which uses them,
keeping things a bit neater.