Switch to query for paramTypes