Support ruby 2.0. Closes #2