Added access control to methods