Use the renderBlock method instead of the old alias

The render() alias was removed in 0.5