Add attr_reader to EntityInvalid to be able to retrieve the entity again later on