Remove warning for non ActiveRecord objects