Adding getters and setters.