Unity, RavenDB and cleaning up