Added getters and setters to the model