Updated docs with new API