Improved the way addon libs are loaded.