A small comment. It may be more robust to write this as classOf[DriverWrapper].getName . So that this doesnt break if in case package structure change.