<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def unified_load(namespace, subclasses=None, recurse=False):
 """Provides a unified interface to both the module and class loaders, finding modules by default or classes if given a ``subclasses`` parameter. """


    if subclasses is not None:
        return ClassLoader(recurse=recurse).load(namespace, subclasses=subclasses)
    else:
        return ModuleLoader(recurse=recurse).load(namespace)