Added protected getters and setters for some instance variables