Add AbstractDriver type to $driver argument on constructor