Added new method that takes a default value.