[74] Add more automatization for applying patches.