Added in commit 977508bcd0c27d43528fd59ca24316c39fc4fca7.
Refined in 3ec7d53c59287a6e46daf5417641840776a68161, aca306782a4767e688257a8f5c07e15db5a109f6, a58f628d69136fe10c197fb2cb4ee78183e7f621. Working now. More unit tests/test platforms may be required in the future, though.
Added in commit 977508bcd0c27d43528fd59ca24316c39fc4fca7. Refined in 3ec7d53c59287a6e46daf5417641840776a68161, aca306782a4767e688257a8f5c07e15db5a109f6, a58f628d69136fe10c197fb2cb4ee78183e7f621. Working now. More unit tests/test platforms may be required in the future, though.