Adds backwards compat for classes option