Modified to include DCE notice (the original "source" of this code).