Update documentation
Remove not needed function
Update documentation
Add public to function (cosmetic)