Fixes blocks.py missing imports.