Starting to attach events.