add debug and compat classes