Add getters and setters.