Do you mind putting `:type => :model` on its own line and then changing this to use Ruby 1.9 hash syntax? Same for the lines below.