Add callback for creating a feature