Use Enums instead of string literals where possible.
Add ability to PATCH plugins.