Added nonparametrized constructor and setters.