Add spec that ensures only the passed optional params are returned by inputs.