I am trying to write a scala class that builds on Spark\'s GraphFrames. The GraphFrame class is defined here. The GraphFrames class extends serializable. I would like to wri