Inserting helper functions from Coalescence here.