Made constructor internal