I think this deserves a more detailed comment, describing what each parameter of AddFeature() does.