Merge "Register DDM handlers at the beginning of main method."