Fixes the 'DEPRECATION WARNING: superclass_delegating_accessor is deprecated and will be removed from Rails 5.0 (use class_attribute instead).' warning