Change interface driver defination to a class.