Remove unnecessary template events