No need to change this now... but would base_path = 'foo__bar', prefetch_through =  '__baz' and prefetch_to_attr = '__baz_list' clarify things here? You could then append base_path and either prefetch_through or prefetch_to_attr together as needed.