Fix: Assets don't get loaded properly when an object of only one asset is given to load.
Make the StateRegistry publicly available.