Set up Python and Haskell completion only when the respective modes are loaded.