Fix class definition for defined paths

The all context class is not an alias for any, this prevented the classes
that are supposed to be raised for each defined path from being defined