Prevent creating new functions

Checking it inside `handleSessionActivity`