Fixes some load order issues.