Working code, with "all" getter and setter.