Reuse the getFieldsIncludingJoins method that already existed.
Added joined tables to selection classes.