Implemented patch downloading.