Setters for shared parameters.