Where is the render() method called?