This _should_ be put into `attachEvents()`. Override the method and call super.