Display attribute only when class is fully defined