Run element.off as a method.