[WIP] Solve cyclic references

Being basically only used for debugging performance is not a primary focus here so I see some benefits in aligning with what the Cocoa binding does.