Added some checking for duplicate values in the entity.properties file.