added a remark about visibility of methods and attributes