I think there is no need for `% locals()` here any more.