Add getters for character, length_ and capacity_