Lock private methods

Functionality should only be accessed through segment() method.