Modified classes.rb to use invoke and bypass Utils class entirely