On the other hand, not sure how much testing or use this will get outside of Rails. If it makes things simpler, we could bind it to Rails.