Add support for joining entities, using a specific join-type