Generating classes that don't have public constructors as well and also removing the redundant 'public' keyword