Switch-interpreter: Add flatten attribute to handlers.
am: 27351be1c1

Change-Id: I365ef524e7231d98392260286d7a9cf5c4e14dc1