Obsidian: More memory optimisations.