Makes non-shuffle code functional.