Make generating the feature name map automatic.