Perhaps private/protected data members would be better, and provide accessors accordingly.