Move resolvconf class to a definition and create a new resolvconf wrapper class.