Attribute validation on set value: Added configurable strategies.