Small fixes to the build() methods in MFNetwork class.