Clearing all caches was the solution this case. After that the new version of the class file was used and all was well.