Added a "__str__" method to the Python entity handle class.