Changed scope visibility of constructor