Reducing public classes