Problem extending a core block

SOLUTION

After days of unsuccessful attempts, having tried all kinds of solutions, I decided to remove any reference to the method __experimentalGetElementClassName and solved the problem.