Consider adding Jose's rendering parameters helper to the core API: https://josedbaez.com/2016/09/synthesis-rendering-parameters-helper/