This doesn't work with Rails 4 yet due to mattr_reader usage