Fixed Connect 3.0 deprecation warning.
Bound callbacks are better.