Extending the parallel programming library