Adding PatchMessage class.