Remove unnecessary render() function