Added render method to Entity classes.