Using console for messages.