refactor compatibility classes