Avoid the use of `attr`