Add private() function
Merge pull request #270 from raphink/dev/private

Add private() function