Removed the extra debug info and the old mechanism for calculating parameter size. With this commit, the headers generated are now compilable without any manual tweaking.