createLink: Polish code of "createLink" command.