Added ability to select the genesis_attr context of a custom loop.