1.8 compatible
Merge pull request #38 from Wisienkas/Relation

1.8 compatible