Add chat, plugin and theme API