Adding a mode hook list for programming languages.