Revert "Added privacy functions: get and set"

This reverts commit 8e9f79fdb9affb751961506b5326071fc5d29912.
Added privacy functions: get and set

Fixed typo