Fix compatability with elliptics api