Auto detect circular references when required.