Class visibility changed to public