camelCase messages, make lib a plugin