Recursive relation moved into separate gem