Added render() method to Element