1. Could you please change it to something like `rise ArgumentError, 'should be Core::IO ' `
2. Could you please change it to `if`? Please never use [unless with conditions](http://www.railstips.org/blog/archives/2008/12/01/unless-the-abused-ruby-conditional/) :)