attr: move parenthesis outside the code

Same PR as #535, but this time with the CLA.