Created the EntitySubstitutor