Implemented setters and getters for the model