Made logging better.