API consolidation for the otdt.ui plugin.

15 files changed