Preprocessing extension statements and exposing them to the world

Addresses issue #30