Function prototype localization continued.

The core of such localization and validation is now functionally complete, but
remains to be extensively tested -- or, well, tested at all.