Updated the API for multiple renderers