Diagnostics folder was moved here from other projects to make all related functionality in one place.