Just leaving this here to save some experimental code from dead branches for future reference.
Just leaving this here to save some experimental code from dead branches for future reference.