Tidy up associations
Reduce memory usage for searching with big documents