Use Hash#fetch to simplify setting default values.