<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def main_target_alternative (self, target):
 """ Registers the specified target as a main target alternatives. Returns 'target'. """

        assert isinstance(target, AbstractTarget)
        target.project ().add_alternative (target)
        return target