Changes public methods to private where possible