Simplifying the attribute access in the token filter.