DI\ContainerPanel: removed usage of $classes [Closes #1086]