Add helpers for use with Rails.