Revert "Add export lists to some modules."

Authored by austin.

Description

Revert "Add export lists to some modules."

This reverts commit d6e7f5dc9db7e382ce34d649f85505176a451a04.

This commit broke the build on Windows due to CPP weirdness (Trac #9945).