Allow plugins to be passed in