Update schema.rb and un-hack some hacked stuff.