Adjusted access levels of some methods.