Fixed a lot of setters which takes object construction parameters.