Explain purpose and lifetime of _get_attributes