Remove type hints because otherwise it will fail in the FE
panelLayout callback specific code does not make any sense other than in BE
Merge branch 'hotfix/4.2.1'