Emulating private members