plugin can have global attribute, and define method of add/remove attribute.