Edit spec utilities