Removed deprecated call to F.Promise