Added a few getters/setters to support mapreduce project.