Change access specifier of some methods