Make all parameters traits inherit from Parameters

This fixes a bug with abstracting over query types