Implement new driver functions in lua frontend.