Try to bind events on declaration.