Also remember that Lucas didn't specify anything to Allan Dean Foster, other than the fact that he wanted a novel he could possibly use for a sequel, and the plot couldn't involve Han. Foster simply assumed Luke and Leia would fall in love eventually.