public void execute(final OperationContext context, final ModelNode operation) throws OperationFailedException {
final ServiceController<?> legacyService;
if (pathEventContext.isInstallServices()) {
//Add the legacy services
final ServiceVerificationHandler verificationHandler = new ServiceVerificationHandler();
final ServiceTarget target = context.getServiceTarget();
if (relativeTo == null) {
legacyService = pathManager.addAbsolutePathService(target, name, path, verificationHandler);
} else {
legacyService = pathManager.addRelativePathService(target, name, path, false, relativeTo, verificationHandler);