Adding minimal cms code