Tidy code up. Temporarily make registration of projects explicit to workaround losing settings (forgetting that projects are immutable).