Added render methods in the API that accept stack arrays.