why don't you use default value for type and options like for the other parameters?