Added support for the labels() function. 

 Also fixed a bug to allow relationships with only properties defined