interface change made for Factory now the context will be set to the feature object constructor