Remove getter for 'logger' in order for Jackson to skip it.