Remove as many exceptions as possible; the code can handle that. Glue functions need to check their parameter counts.