Install handlers on correct element.