Added setter in constructor