Making determineActiveClass explicit