Set visibility of properties