Working on init and logging events.