Adding properties and unique constraint