Making joins also have a types param