Allow plugins to specidy dependencies

Closes #17