Adds getters and setters