Added TypeError exception to Name.create method