Fix visibility level of properties and methods