Moved debugging functions into a seperate file which is not to be used on live sites.
https://www.drupal.org/node/2378799#comment-9374429