Added getters/setters for fields.