Made function names unique to prevent conflits with act-events plugin