Preparation for commandMap.