Improve name generation interface