Every Star Wars fan remembers the uncomfortable moment in The Empire Strikes back where Leia kisses Luke.  In Return of the Jedi we're then told that she's his sister.

While George Lucas and the writers were making The Empire Strikes Back had this family relationship been decided or was it only added for Return of the Jedi?