Improvements to caching
Various updates
Merge remote-tracking branch 'origin/master'