Connect events in constructor