Fix up class properties visibility.