Function declaration regressions corrected.

While numerous regressions yet remain, function declaration debugging
approaches its yawning nadir.