Replaced console log.