Changed PanTask* to accept both input and output params