Added support for block-level `@import` and `@require`. Fixes #741