Fix private/public methods.

Private marks all following methods as private.