Added new functions to bridge with ggnet