[BUGFIX] Fix loading order for extensions