* Implementing mode projection and mode expansion.