<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def configure_keys(self):

 """Configure key map"""

        self.active_functions = set()
        self.key2func = {}
        for funcname, key in self.key_map.items():
            self.key2func[key] = getattr(self, funcname)