Improve static analysis problems in Ruby Visitors Controller