Wrote inner classes need to run Giraph job.