makes plug a truly optional dependency