Implemented join expression visitor and join queries.