Added constraints against empty names.