Use adapter class decorator instead