def opt(key): """Create an optional key that returns a default of None.""" return vol.Optional(key, default=None)