Originated from here: https://github.com/troessner/transitions/pull/117
Originated from here: #117