[#26] Implemented PluginMessage API. Closes #26