Fixing few bugs on setAllAttribute and setAllProperty, setting a default value for the value argument on setAllProperty.