Properly handle math render functions
Fixed the exports