Added easier access to debug functions.