Export addFeatures

This needs discussion, but it's useful for now to be able to
have applications with programmatically created features.