Adapts format to new API