Thank you very much for your help. Life could be easy if you ask the right people
I commented out the class definition but forgot enableing the DS2438 in the code. After fixing that, it seems to work fine.
I'll edit this post if any errors occur in relation to the DS2438.
Thanks again for your help.