reduce visibility of inner classes