Remove ActiveRecord dependency.