Use interface instance of class.