Automatically update registry
Optimize resolver
Only start registry if it isn't started