Re-adding coremod and some new registry things.