Implement floats in relations, fixes #37, #66 and #67