Add a class for handling JIDs.