Implement new-style module-level python blocks.
Update docs.