Add context class definition for each path defined