Updated old mod compat classes to the new system