Make render_composite() an internal API