Found a better way to clear class definitions on client disconnect