Fixed error when class name without braces or attributes used in configuration