Made logging nicer.