Structured verbose and debug statements into functions.