Plugin constructors accept a callback, require is an async keyword.