Clearing class definitions on client disconnect