Add params property to compiled object
Fix api.classes.CallDef.params

We need to check for compiled objects