Fix spec deprecation warnings for include_class