NEW_GEN: Small fixes.
NEW_GEN: Fixes for fund and proc declarations and calls. Also some small other fixes.