Initializer from hash uses send instead of directly assigning to @attributes.