Adding the constructor.