AbstractEntity now implements a __toString() for easy casting of entities.