Clean up core api
Minify