Added functionTerms and reifiedEdgeTerms to Network class.