Changed exists? to exist? because ruby-core.