Use loop to setup _atts hooks.