Added support for a default value with set().