Add management database code.