Reduce the exported API
Simplify the ui handling