Revert some unnecessary changes

I'll submit a separate PR to add pry (and pry-byebug) as dependencies in
the Gemfile.

Reverted some changes I made to attributes/ref.rb that would conflict
with #186.