A universal patch library