Name input improvement

And remove empty destructors.