Fix for duplicate classes

"New" button had duplicated class attribute declaration