Update lib/core.rb.