Add public access modifier to constructor