Code used by all Chevah projects.