Work on synthesis api, Fixes and more