use private properties in class extensions