Adding API documentation for ArrayPromises.