Added patches support