Allow plugins to specify dependencies

Closes #17