Added a convenient overload of the render() method.