New method which allows active classes to be returned if route is matched