Made the valid function in CODE39 a part of the object.