Straight copy of code with no modification so that we have a baseline of changes made to port the code to the Diagnostics repo