Makes read-only models easier to implement in ActiveRecord 3.x/4.x.