We found the issue for the issue. Apparently the class was still instantiated, but a string was wrongly cast during the process. Our inexperience with the error-message led us to think it has something to do with the instantiation.
Thanks you for your answers!