Forbid interfaces and enums as module targets.

Closes #127.