Updated engine.rb.