Pass params into createFeature() method.