Correcting misleading API doc