Remove Join from proctype