Added functionality to spec utilities