API11+: Make speaking of toasts optional.

Some code style changes in modified classes.