Add forward declaration map.

The implementation, as planned, for forward declarations should solve an
existing problem for exported modules.
Add forward declarations.

Now more strict with preprocessor definition error checking.