Changed default constructor.