Radical cleanup and dev documentation