Added FlaggedIndex to assembler.py (not-tested).