Updated parameter parsing to handle anonymous parameters.