Extracting useful functionality to Zaria.