We should use public methods instead of properties.