Do you need the () around @raw_registry ||= {}? Seems operator precedence would solve that.