Support default_proc behavior in Ruby 1.8.x